package com.example.servicea.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.example.servicea.entity.OrganizationEntity;

import java.util.List;

/**
 * @Author hutu.
 * @Date: 2017/10/26 10:19
 */
public interface OrganizationService {
    boolean insert(OrganizationEntity organization);
    List<OrganizationEntity> selectList(OrganizationEntity organization);

    Page selectPage(OrganizationEntity organization, String page, String limit);

    int selectCount(OrganizationEntity organization);

	OrganizationEntity selectOne(OrganizationEntity organization);

	OrganizationEntity selectById(String id);

    boolean updateById(OrganizationEntity organization);

    boolean deleteById(String id);

    boolean deleteBatchIds(String ids);

}